package movie.test.front;

import java.io.IOException;
import java.io.InputStream;

import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;

public class dd {

	public static void main(String[] args) throws IOException {
		InputStream input = Resources.getResourceAsStream("db/spring-db.xml");
		SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(input);
        System.out.println(factory);
	}

}
